class BaseCategory {
    
    String name
    String value
    Integer sequence = 1
    Integer type = 0
    
    static constraints = {
        
        name(maxLength:50,blank:false)
        value(maxLength:100,blank:false)
        sequence(min:0)
    }
    
    String toString() {"${this.name}:${this.value} " }
}
